//
//  CommonTools.swift
//  Weibo-swift
//
//  Created by GD on 16/9/22.
//  Copyright © 2016年 geduo. All rights reserved.
//

import UIKit

let SwitchRootVCNotification = "SwitchRootVCNotification"

//随机颜色 全局函数
func RandomColor() -> UIColor{
    let red = arc4random() % 256
    let green = arc4random() % 256
    let blue = arc4random() % 256
    
    return UIColor(red:CGFloat(red)/255, green: CGFloat(green)/255, blue: CGFloat(blue)/255, alpha: 1.0)

}
